# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bdftopcf
pkgver=1.1.2
pkgrel=0
pkgdesc="X.Org font utility"
url="https://xorg.freedesktop.org/"
arch="all"
license="MIT"
options="!check" # No test suite.
makedepends="util-macros xorgproto"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/util/bdftopcf-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
b3dde8d73084b7ec23ea47491321d12fa8f4a0a9ce0f61f2f89460fdc98f05d135ba11d8588d9debb8c2639ac68a7434a0cf80d9d548cd7328cbcb2339b4c0a6  bdftopcf-1.1.2.tar.xz
"
